<?php

/**
 * Description of FrontController
 *
 * @author Reinowin7
 */
class FrontController 
{
    public function main()
    {
        $request = $_REQUEST;
        /*
        if (isset($_REQUEST))
        {
            echo $_REQUEST['name'];
        }
         */
        
        $viewManager = new ViewManager();
        $view = "insertPersonSectorInvolvementPage";
        $menuController = new PersonSectorInvolvementMenuController();
        if (!is_null($menuController) and !$menuController == "")
        {
            $view = $menuController->service($request);
        }
        $viewManager->navigate($view, $request);
    }
}

?>
